//
//  AppDelegate.h
//  FKGW
//
//  Created by song ce on 2017/2/15.
//  Copyright © 2017年 song ce. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate,UIAlertViewDelegate>
@property(copy, nonatomic)NSString *updateUrl;
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic)NSDictionary *launchOptions;
@property(nonatomic,copy)NSString *uid;//用户的标识符；判断是否登录
@property(nonatomic ,assign)BOOL  isNeedUpdateFooter;
@property(nonatomic,copy)NSString *userName;//用户名
@property(nonatomic,copy)NSString *huanxinUserName;//修改密码使用
@property(nonatomic,copy)NSString *userPhone;//联系方式
@property(nonatomic,copy)NSString *signature;//个性签名
@property(nonatomic,copy)NSString *sex;//个性签名
@property(nonatomic,copy)NSString *cityId;//城市code
@property(nonatomic,copy)NSString *cityName;//城市名称
@property(nonatomic ,assign)BOOL isFirstSetSignature;//是否是第一次设置签名
@property(nonatomic,copy)NSString *latitude;//纬度
@property(nonatomic,copy)NSString *longitude;//精度

@property(nonatomic,assign)NSInteger   xiaoliangClickCount;
@property(nonatomic,assign)NSInteger   priceClickCount;

@property(nonatomic,assign)BOOL  isNeedToSetSixinBadge;//如果是no 在appdelegate设置角标。如果为Yes 在SessionViewController中接到通知后刷新数据设置角标
@property(nonatomic,assign)BOOL isEnterBackground;

@property(nonatomic,assign)NSInteger messageCount;

@property(nonatomic,assign)BOOL  isNotNeedMessageBtn;
@property(nonatomic,assign)int modelCount;
+(AppDelegate *)appDealegate;

/*
 NSData *pramasData = [NSJSONSerialization dataWithJSONObject:pramas options:NSJSONWritingPrettyPrinted error:nil];
 NSString *middleStr = [[NSString alloc]initWithData:pramasData encoding:NSUTF8StringEncoding];

 */
@end

